﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Apollo
{
    public class ActionMessage
    {
        public ActionMessage(string message) : this(message, ActionMessageType.Info) { }
        public ActionMessage(string message, ActionMessageType type) {
            this.Message = message;
            this.Type = type;
        }

        public ActionMessageType Type { get; private set; }

        public string Message { get; private set; }
    }

    public enum ActionMessageType {
        Info = 0,
        Warning = 1,
        Error = 2,

        /// <summary>
        /// This is also seen as an Error
        /// </summary>
        System = 3,

        /// <summary>
        /// This is also seen as an Error
        /// </summary>
        Security = 4,
    }
}
